home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
UTILITY1
/
MSWSRC35.ZIP
/
MYCOMBO.H
< prev
next >
Wrap
Text File
|
1992-06-10
|
1KB
|
47 lines
// ObjectWindows - (C) Copyright 1992 by Borland International
#ifndef __MYCOMBOBOX_H
#define __MYCOMBOBOX_H
#ifndef __COMBOBOX_H
#include <combobox.h>
#endif
#pragma option -Vo-
_CLASSDEF(TMyComboBox)
_CLASSDEF(TMyComboBoxData)
/* --------------------------------------------------------
TMyComboBox
-------------------------------------------------------- */
class _EXPORT TMyComboBox : public TComboBox
{
public:
TMyComboBox(PTWindowsObject AParent, int AnId, int X, int Y, int W,
int H, DWORD AStyle, WORD ATextLen, PTModule AModule = NULL)
: TComboBox(AParent, AnId, X, Y, W, H, AStyle, ATextLen,
AModule) {}
TMyComboBox(PTWindowsObject AParent, int ResourceId, WORD ATextLen,
PTModule AModule = NULL)
: TComboBox(AParent, ResourceId, ATextLen, AModule) {}
virtual WORD Transfer(Pvoid DataPtr, WORD TransferFlag);
};
class _EXPORT TMyComboBoxData
{
public:
PTNSCollection Strings;
Pchar Selection;
TMyComboBoxData();
~TMyComboBoxData();
void AddString(Pchar AString, BOOL IsSelected = FALSE);
};
#pragma option -Vo.
#endif